From: Florian Müllner Date: Thu, 23 Feb 2017 22:16:07 +0000 (+0100) Subject: viewSelector: Fix another case of mixing GJS and GObject signals X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~514 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0ff5fc8dbba7ac3026b27f81433460d32bb5fc03;p=gnome-shell.git viewSelector: Fix another case of mixing GJS and GObject signals This is the same issue fixed in commit e08f2a4a041 for several other classes, but this one somehow slipped through ... --- diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js index 182d344d5..211ed42c6 100644 --- a/js/ui/viewSelector.js +++ b/js/ui/viewSelector.js @@ -77,6 +77,7 @@ Signals.addSignalMethods(TouchpadShowOverviewAction.prototype); const ShowOverviewAction = new Lang.Class({ Name: 'ShowOverviewAction', Extends: Clutter.GestureAction, + Signals: { 'activated': {} }, _init : function() { this.parent(); @@ -135,7 +136,6 @@ const ShowOverviewAction = new Lang.Class({ this.emit('activated', areaDiff); } }); -Signals.addSignalMethods(ShowOverviewAction.prototype); const ViewSelector = new Lang.Class({ Name: 'ViewSelector',